try:
    # num1=100
    # num2=0
    # print(num1/num2)
    int('aaa')
except Exception as e:
    # Exception必须这么写  Exception相当于形参 代表异常
    # as e 就是起别名
    print(e)